package com.flea.model;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;

@Data
public class OrderItem {
    @Id
    private Integer id;
    private Integer orderId;
    private Integer productId;
    private Short quantity;
    private BigDecimal unitPrice;
    private BigDecimal totalPrice;
}
